package prototype.general;

/**
 * @Author：LJ
 * @Description：原型模式通用源码
 * @Date: 2017/11/28
 * @Modified By:
 */
public class PrototypeClass implements Cloneable {
    @Override
    protected Object clone() {
        PrototypeClass prototypeClass = null;
        try {
            prototypeClass = (PrototypeClass) super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return prototypeClass;
    }
}
